<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/layout.css" rel="stylesheet" type="text/css" />
<smart>include file ='../head.config.html'</smart>
</head>
<body>
<div id="container760" style="clear:both"> <smart>include file ='../header.html'</smart><smart>include file ='../PathLinksLevel.html'</smart><smart>include file ='own_menu.html'</smart>
  <div style="float:right; width:100%; margin:0 -160px 0 10px; display:inline">
    <div style="margin:0 160px 0 0">
      <UL class="item_list_title">
	  
	  	<smart> if $type eq '' </smart>
        	<LI class="selected"><A href="own_complaint.php" ><STRONG>投诉/举报</STRONG></A> </LI>
		<smart> else </smart>
			<LI><A href="own_complaint.php" >投诉/举报</A> </LI>
		<smart> /if </smart>
		
		<smart> if $type eq 'complaint' </smart>
			<LI class="selected"><A href="own_complaint.php?type=complaint&send_receive=receive&state=handling" ><STRONG>投诉</STRONG></A> </LI>
		<smart> else </smart>
			<LI><A href="own_complaint.php?type=complaint&send_receive=receive&state=handling">投诉</A> </LI>
		<smart> /if </smart>
		
        <smart> if $type eq 'report' </smart>
			<LI class="selected"><A href="own_complaint.php?type=report&send_receive=receive&state=handling" ><STRONG>举报</STRONG></A> </LI>
		<smart> else </smart>
			<LI><A href="own_complaint.php?type=report&send_receive=receive&state=handling">举报</A> </LI>
		<smart> /if </smart>
		
      </UL>
	  
      <div id="item_list_border">
	  		<table width="100%" border="0" cellspacing="1" cellpadding="0">
				<tr>
				  <td align="left">
				  <strong>
				  <smart> if $complaint_array.login_name eq $login_name </smart>
				  您
				  <smart> else </smart>
				  <a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_array.member_id </smart>" target="_blank"><smart> $complaint_array.login_name </smart></a>
				  <smart> /if </smart>
				  对
				  <smart> if $complaint_array.c_r_login_name eq $login_name </smart>
				  您
				  <smart> else </smart>
				  <a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_array.c_r_member_id </smart>" target="_blank"><smart> $complaint_array.c_r_login_name </smart></a>
				  <smart> /if </smart>
				  的举报:
				  </strong>
				  </td>
				</tr>
				<tr bgcolor="#FFFFFF">
				  <td> <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
						<tr>
						  <td>
						  相关宝贝：<a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $complaint_array.p_code </smart>" target="_blank"><smart> $complaint_array.p_name </smart></a>
						  </td>
						  <td>
						  投诉/举报人：<a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_array.member_id </smart>" target="_blank"><smart> $complaint_array.login_name </smart></a>
						  </td>
						  <td>
						  被投诉/举报人：<a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_array.c_r_member_id </smart>" target="_blank"><smart> $complaint_array.c_r_login_name </smart></a>
						  </td>
						</tr>
						<tr>
						  <td colspan="3">
						  投诉/举报类型：<smart> assign var = 'c_r_type' value = $complaint_array.c_r_type </smart>
							  <smart> $complaint_report_type[$c_r_type] </smart>
						  </td>
						</tr>
						<tr>
						  <td width="33%">投诉/举报编号：<smart> $complaint_array.complaint_report_id </smart></td>
						  <td width="33%">投诉/举报时间：<smart> $complaint_array.c_r_add_time|date_format:"%Y/%m/%d"|default:'无' </smart></td>
						  <td width="33%">结束时间：<smart> $complaint_array.c_r_end_time|date_format:"%Y/%m/%d"|default:'无' </smart></td>
						</tr>
						<tr>
						  <td>处理状态：<smart> assign var = 'c_r_handling' value = $complaint_array.c_r_handling_state </smart>
									<smart> $baseconfig_handling[$c_r_handling] </smart>
						  </td>
						  <td>处理结果：<smart> $complaint_array.result|default:'无' </smart></td>
						  <td align="right"></td>
						</tr>			
					  </table>
				  </td>
				</tr>
			  </table>  
			  <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
				<tr>
				  <td>投诉/举报内容：</td>
				</tr>
				<smart> if $complaint_array.c_r_evidence neq ''</smart>
					<tr>
					  <td>证据：<smart> $complaint_array.c_r_evidence </smart></td>
					</tr>
				<smart> /if </smart>
				<smart> if $complaint_array.c_r_pic neq ''</smart>
					<tr>
					  <td>相关图片：<img src="<smart> $site_url </smart>/<smart> $complaint_array.c_r_pic </smart>" width="50" height="50" /></td>
					</tr>
				<smart> /if </smart>
				<smart> if $complaint_array.c_r_pic_two neq ''</smart>
					<tr>
					  <td>相关图片：<img src="<smart> $site_url </smart>/<smart> $complaint_array.c_r_pic_two </smart>" width="50" height="50" /></td>
					</tr>
				<smart> /if </smart>
				<smart> if $complaint_array.c_r_type eq 10</smart>
					<tr>
					  <td>出售禁售品种类：$embargo_id</td>
					</tr>
				<smart> /if </smart>
				<smart> if $complaint_array.c_r_type eq 12</smart>
					<tr>
					  <td>重复铺货商品：<a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $complaint_array.c_r_related_product </smart>" target="_blank"><smart> $complaint_array.c_r_related_product_name </smart></td>
					</tr>
				<smart> /if </smart>
				<smart> if $complaint_array.c_r_type eq 5</smart>
				<tr>
					  <td>相关炒作会员：<a href="<smart> $site_url </smart>/store/userinfo.php?userid=<smart> $complaint_array.c_r_speculation_member_id </smart>" target="_blank"><smart> $complaint_array.c_r_speculation_member_name </smart></a></td>
					</tr>
				<smart> /if </smart>
			  </table>
			  
			  <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
				<tr>
				  <td>被投诉或被举报者申诉内容：</td>
				</tr>
				<tr>
				  <td>
				  <smart> if $complaint_array.c_r_login_name eq $login_name && $complaint_array.c_r_answer eq '' </smart>
				  		<form action="own_complaint.php?action=set_answer" method="post">
							<input type="hidden" name="complaint_report_id" value="<smart> $complaint_array.complaint_report_id </smart>" />
							<input type="hidden" name="type" value="<smart> $type </smart>" />
							提交申诉：<textarea style="height:70px" name="c_r_answer" cols="40" rows="5"></textarea>
						  	<input type="submit" name="Submit" value="提交" />
						</form>
				  <smart> else </smart>
				  		<smart> $complaint_array.c_r_answer|default:"无申诉" </smart>
				  <smart> /if </smart>
				  </td>
				</tr>
			  </table>
			  
			  <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
				<tr bgcolor="#FFFFFF">
				  <td>留言信息：</td>
				</tr>
				<tr bgcolor="#FFFFFF">
				  <td><table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC">
						<smart> section name=loop loop=$msg_array </smart>
						<tr bgcolor="#FFFFFF">
						  <td>淘宝客服留言：<br/><smart> $msg_array[loop].r_c_content </smart><div align="right"><smart> $msg_array[loop].r_c_msg_add|date_format:"%Y/%m/%d" </smart></div></td>
						</tr>
						<smart> /section </smart>
					  </table></td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td align="right"><smart> $page_list </smart></td>
				</tr>
			  </table>	
            </div>
            <p style="text-indent: 25px; line-height: 18px; font-size: 12px; color: red;">为了改进我们投诉举报服务的质量，并最终为您提供更好的服务，请您在百忙之余别忘了积极参与我们的投诉举报满意度调查哦。</p>
            <div id="BottomBox" align="center">请客观地向淘宝反映您所遇到的真实情况，以共同维护一个诚信和公平的购物环境。</div>
      </div>
    </div>
  </div>
  <smart>include file ='../footer.html'</smart></div>
</body>
</html>
